@extends("public.father")

@section("content")

    <form action="{{route("blog.update",$blog["id"])}}}" method="post">
        @csrf
        @method("put")
        <div class="card">
            <div  style="text-align: center" class="card-header">
                编辑{{$blog->user->name}}的博客
            </div>
            <div class="card-body">


                <label for="exampleFormControlTextarea1">博客内容</label>
                <textarea name="content" class="form-control" id="exampleFormControlTextarea1" rows="3">{{$blog["content"]}}</textarea>


                <button  class="btn mt-2 btn-primary">确认修改</button>

            </div>

        </div>
    </form>
    @endsection
